if (!FileExist(commandstxt) or !FileExist(functionstxt) or !FileExist(variablestxt) or !FileExist(keywordstxt) or !FileExist(keystxt) or !FileExist(commandnamestxt))
MsgBox AutoHotkey syntax highlighting for ConTEXT has been successfully installed.
exitapp
return
selectcontextdir:
FileSelectFolder, contextDir ,,0, Select the folder ConTEXT is installed in.
if errorlevel
goto exit
if !FileExist(contextDir . "\conTEXT.exe")
{
msgbox,18,Error,This is not the folder context is installed in. Install anyway? ;`n.Abort - Exit.`nRetry - Select again.`nIgnore - Install files anyway.`n